<!DOCTYPE >
<html>
<?php $this->assign('nvactive','article'); ?>
<?php echo $this->fetch('head.html'); ?>

<body>
<div class="wrap clearfix">
<!-- left nav start -->
  <?php echo $this->fetch('inc/sidebar.html'); ?>
<!-- left nav end-->

<!--right-->
  <div class="show_right fr">
   <?php echo $this->fetch('inc/banner.html'); ?>
    <div class="main">
     <div class="locat">当前位置：<a href="">首页</a> > <a href=""><?php echo $this->_var['data']['title']; ?></a></div>
     
     <div class="about_tit"><h4><?php echo $this->_var['data']['title']; ?></h4></div>
     <div class="about_data">文章作者：admin 上传时间：<?php echo date("Y-m-ds",$this->_var['data']['datleine']); ?></div>
     <div class="about_img"><img src="<?php echo imageS_site($this->_var['data']['imgurl']); ?>"  id="imgs"/></div>
     <div class="about_con"><?php echo $this->_var['data']['content']; ?>
</div>
     <div class="con_page clearfix">
       <?php if ($this->_var['last_rs']): ?><div class="prev fl">上一篇：<a href="/index.php?m=article&a=show&id=<?php echo $this->_var['last_rs']['id']; ?>"><?php echo $this->_var['last_rs']['title']; ?></a></div><?php endif; ?>
       <?php if ($this->_var['next_rs']): ?><div class="next fr">下一篇：<a href="/index.php?m=article&a=show&id=<?php echo $this->_var['next_rs']['id']; ?>"><?php echo $this->_var['next_rs']['title']; ?></a></div><?php endif; ?>
     </div> 
     <!--推荐信息-->
     <div class="contenttjtext clearfix">
      <h2>推荐信息</h2>
       <ul>
       	<?php $this->assign("tj",M("article")->hotlist(SKINS_ARTCAT,10)); ?>
        <?php $_from = $this->_var['tj']; if (!is_array($_from) && !is_object($_from)) { $_from=array();}; $this->push_vars('', 'c');if (count($_from)):
    foreach ($_from AS $this->_var['c']):
?>
         <li><a href="/index.php?m=article&a=show&id=<?php echo $this->_var['c']['id']; ?>"><?php echo $this->_var['c']['title']; ?></a></li>
        <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
       </ul>
      </div>
      <!--footer start-->
    <?php echo $this->fetch('footer.html'); ?>
    <!--footer end-->
    </div>
   </div>

</body>
</html>
